<?php
error_reporting(0);
$isadmin=1;
include_once '../comm/config.php';
include '../comm/check.php';
include '../comm/checkpostandget.php';
include 'check.php';
$id=$_POST['id']; $link = mysql_connect($dbserver, $dbuser, $dbpass);
if (!$link) {
     die(ERR_DB);
}
mysql_select_db($dbname);

mysql_query("set names utf8");

$q = "delete from ".$BIAOTOU."tbjy where id='$id'";
mysql_query($q);

header('Location: jylist.php');     

mysql_close($link);

?>
